<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	<link rel="stylesheet" href="../css/include/header.css" />
	<link rel="stylesheet" href="../css/include/footer.css" />
	<link rel="stylesheet" href="../css/car.css" />
		<link rel="shortcut icon" href="/img/title1.gif" />
	</head>
	<body>
		<header>
			
		</header>
		<div class="car_main">
			 <h1>It appears that your cart is currently empty!</h1>
		    <h2>You can continue browsing <a href="/html/hot.html">here</a>.</h2>
	       		<table>
	       			<thead>
	       				<tr>
	       					<th><input type="checkbox" class="th" style="vertical-align: middle;">全选</th>
	       					<th>编号</th>
	       					<th>图片</th>
	       					<th>标题</th>
	       					<th>价格</th>
	       					<th>数量</th>
	       					<th>小计</th>
	       					<th>操作</th>
	       				</tr>
	       			</thead>
	       			<tbody class="cart-body">
	       				
	       			</tbody>
	       		</table>
	       		<div class="sum">
	       		<span>总计：0.00元</span>
	       		</div>
	       </div>
		<div class="footer">
			
		</div>
		<script type="text/html" id="cart-template">
			{{ each cart prod }}
			<tr>
				<td><input type="checkbox" class="td"></td>
				<td>{{prod.id}}</td>
				<td><img src="{{prod.img}}" alt=""></td>
				<td>{{prod.title}}</td>
				<td class="dan">{{prod.price}}</td>
				<td class="shu"><button>-</button><input type="number"  maxlength="3"  class="shuru"  value="{{prod.amount}}"/><button>+</button></td>
				<td class="price">{{(prod.price * prod.amount).toFixed(2)}}</td>
				<td><a href="#">删除</a></td>
			</tr>
			{{ /each }}
		</script>
		<script src="/js/require.js" data-main="/js/car"></script>
	</body>
	
</html>
